package com.inkrl.order.mapper;

import com.jt.common.pojo.Address;
import com.jt.common.pojo.Order;
import com.jt.common.pojo.OrderItem;

import java.util.List;
import java.util.Map;

public interface OrderMapper {
    List<Map<String, Object>> selectByOrderIdJoinBook(String phone);

    List<Map<String, Object>> selectByOrderIdJoinBook1(String phone);

    void insertOrder(Order order);

    Map<String, Object> selectByRidBook(String item);

    void insertOrderItem(OrderItem orderItem);

    List<Map<String,Object>> selectAddress();

    List<Map<String, Object>> selectByOrderIdBook(String orderId);
}
